package org.cfd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import org.cfd.entity.Products;

/**
 * @author rjs
 * @description 针对表【products(商品表)】的数据库操作Service
 * @createDate 2023-09-06 14:59:18
 */
public interface ProductsService extends IService<Products> {
  List<Products> searchByNameOrDescription(String query);

  List<String> getAllCategories();

  List<Products> getProductsByCategory(String category);
}
